//
//  DeviceTool.h
//  UsLink
//
//  Created by admin on 2018/5/11.
//  Copyright © 2018年 admin. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface DeviceTool : NSObject

@property(strong,nonatomic) UIViewController *target;
+ (instancetype)shareInstance;
//打电话
- (void)callWithPhoneNumber:(NSString *)phoneNumber;
//发短信
- (void)messageWithPhones:(NSArray *)phones title:(NSString *)title body:(NSString *)body;
// 开始拍照
-(void)takePhotoWithCompletionHandler:(void(^)(UIImage *image))completionHandler;
// 打开本地相册
-(void)localPhotoWithCompletionHandler:(void(^)(UIImage *image))completionHandler;
@end
